package com.wanmait.employment.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.wanmait.employment.entity.JobHoursBasice;
import com.wanmait.employment.mapper.JobHoursBasiceMapper;
import com.wanmait.employment.service.JobHoursBasiceService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class JobHoursBasiceServiceImpl implements JobHoursBasiceService {
    @Resource
    private JobHoursBasiceMapper jobHoursBasiceMapper;



    @Override
    public List<JobHoursBasice> selectList() {
        return jobHoursBasiceMapper.selectList(null); }

    @Override
    public Integer update(JobHoursBasice jobHoursBasice) {
        return jobHoursBasiceMapper.updateById(jobHoursBasice);
    }

    @Override
    public Integer insert(JobHoursBasice jobHoursBasice) {
        return jobHoursBasiceMapper.insert(jobHoursBasice);
    }

    @Override
    public void delete(Integer id) {
        jobHoursBasiceMapper.deleteById(id);

    }
}
